package com.europe.business.europebusiness.ui.net;

import com.europe.business.europebusiness.ui.bean.HomeBean;
import com.europe.business.europebusiness.ui.bean.MoreNewBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface IHome {
    @GET("api/home/getHome")
    public Call<HomeBean> getHome(@Query("language") String language);

    @GET("api/home/getNewsByPage")
    public Call<MoreNewBean> getNewsByPage(@Query("page") int page, @Query("rows") int rows, @Query("language") String language);
}
